﻿using System.ComponentModel;
using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tParticipantMultiplicity")]
[XmlRoot("participantMultiplicity", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public partial class ParticipantMultiplicity : BaseElement
{
    /// <remarks/>
    [XmlAttribute("minimum")]
    [DefaultValue(0)]
    public int Minimum { get; set; } = 0;

    /// <remarks/>
    [XmlAttribute("maximum")]
    [DefaultValue(1)]
    public int Maximum { get; set; } = 1;
}
